package com.atguigu.eduService.client;

import com.atguigu.commonUtils.Result;
import com.atguigu.commonUtils.ResultUtil;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class VodClientImpl implements VodClient{

    @Override
    public Result<String> deleteVideo(String id) {
        return ResultUtil.fail("删除视频出错");
    }

    @Override
    public Result<String> deleteBatch(List<String> videoIdList) {
        return ResultUtil.fail("删除多个视频出错");
    }
}
